package com.blue.parsedxf.config;


import com.blue.parsedxf.parse.ParseDxfLayout;
import com.blue.parsedxf.pojo.MyBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConditionalOnBean(ConfigMarker.class)
public class ParseDxfAutoConfiguration {

    @Bean
    public MyBean myBean() {
        return new MyBean();
    }

    @Bean
    public ParseDxfLayout parseDxfLayout(){
        return new ParseDxfLayout();
    }


}
